﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EIS_desktop.Fonts
{
    public class MyTimesRomanLabel:Label 
    {
        public override System.Drawing.Font Font
        {
            get
            {
                return new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 
            }
           
        }
        public override System.Drawing.Color ForeColor
        {
            get
            {
                return System.Drawing.Color.BlueViolet;
            }
           
        }
        protected override System.Drawing.Size SizeFromClientSize(System.Drawing.Size clientSize)
        {
            return new System.Drawing.Size(81, 15);
        }
        public override string Text
        {
            get
            {

                return base.Text.ToUpperInvariant();
            }
            set
            {
                base.Text = value;
            }
        }

    }
}
